Repository navigation
docs(configure): SSO admin guides for Okta and Microsoft Entra ID, checked against production v2.12.0 (supersedes #467) - #472
Merged
objectstack-fleet[bot] merged 3 commits intoNov 15, 2026
Conversation
…d a Setup → SSO Providers section Two new English pages, configure/sso-okta and configure/sso-entra-id, each covering OIDC and SAML 2.0 with the values an administrator pastes on both sides: the OIDC callback, SAML ACS and SP entity ID under /api/v1/auth/sso/..., the Okta authorization-server access policy and a password-only authentication policy for test accounts, the Entra email claim for users without a mailbox, MFA registration, per-user assignment on Entra ID Free, DNS TXT domain verification, and group mapping with Map SSO Group. authentication.mdx gains a Setup → SSO Providers section kept apart from the configuration-time genericOAuth route; the FAQ links the guides. Values follow the live runs recorded on objectstack-ai/cloud#3666 (Entra ID OIDC re-run on the released ObjectOS Enterprise 4.4.0). Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012dn2AdARJtc4RgABPH7PHk
Co-Authored-By: Claude <noreply@anthropic.com>
…d framework - objectstack#32146 is closed, but its fixes (objectstack#33418, #33490) are in no release yet (framework 18.4.0 = 181ad7d4, the pin cloud v2.12.0 serves). "until #32146 is fixed" now reads "until a release carries the fix for #32146", in both guides. - The ObjectOS Cloud bullet "Group mappings cannot be saved on ObjectOS Cloud yet" is removed from both guides. At cloud v2.12.0 the hosted auth proxy forwards the whole auth path to the environment (cloud#4415), and framework 181ad7d4 serves admin/scim/set-group-mapping; the only hosted filter is admin/sso/* on a plan without the external IdP. cloud#4314, which the bullet rested on, is closed. - Entra SAML, users without a mailbox: say what the code does. The vendor (@better-auth/sso 1.7.12, unpatched) takes the email from the mapped attribute and falls back to the NameID; the UPN source switch gives such users an email attribute of their own. Co-Authored-By: Claude <noreply@anthropic.com>
Contributor
Author
席位核对ACCEPT(www 席位按维护者 2026-11-15 的指示接手 docs,接手的是 #467)。
Generated by Claude Code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of objectstack-ai/cloud#4363
Clause-②: no
Metadata-protocol: none
Supersedes #467 (its commit
bc76778is kept as this branch's first commit; #467 is left for the seat to close).维护者速读
configure/authentication增加「Setup → SSO Providers」一节,和代码里配置的 genericOAuth 路线分开写;FAQ 加了指向两篇指南的链接。只改英文,译文按本仓规则留给翻译轮。接手后按生产v2.12.0和已发布框架校正了三处(见下)。/api/v1/auth/oauth2/callback/...那条路线,和 Setup 里注册的 SSO 提供方用的/api/v1/auth/sso/...不是一回事。086e2d3c),包含在v2.12.0里;v2.12.0于 2026-11-14 由deploy-cloud-prod(run 43611884480)部署到生产,生产 health 头读到0ffc6d43。ja/zh-Hans/zh-Hant的configure/meta.LOCALE.json会整份替换英文的pages列表,两篇新页面在这些语言的侧边栏里没有入口,check-locale-surface的「至少认出一个未翻译条目」守卫因此报错。main 的 fix(docs): indexing — noindex fallbacks and .mdx routes, linked sitemap with lastmod, indexing gate (#469) #470 加了englishPageListsPlugin,改为一律用英文的页面列表;合并 main 后通过,没有动任何译文文件。content/docs/configure/sso-entra-id.mdx(SAML「Users without a mailbox」一条、证书轮换、On ObjectOS Cloud),content/docs/configure/sso-okta.mdx(IdP 发起保持关闭、On ObjectOS Cloud)。/docs/configure/sso-entra-id。预期:Configure 侧边栏里 Authentication 之后有两篇新页面;「On ObjectOS Cloud」一节不再有「Group mappings cannot be saved」;/ja/docs/configure/users的侧边栏也列出两篇(英文标题)。What changes
Unchanged from #467 (
bc76778):content/docs/configure/sso-okta.mdxandcontent/docs/configure/sso-entra-id.mdx, each with OIDC and SAML 2.0 sections and the exact values an administrator pastes. That covers the OIDC callback, SAML ACS and SP entity ID, the Okta access policy and groups claim, the Entra mailbox-less users, MFA and assignment, domain verification by DNS TXT record, group mapping, and the IdP-initiated and sign-out caveats.configure/authentication.mdx: a "Setup → SSO Providers" section beside the configuration-timegenericOAuthroute.configure/meta.json: the two pages afterauthentication.resources/faq.mdx: one sentence linking the guides.New in this takeover (
6f2ea70), each from the evidence below:objectstack#32146 is closed, but no release carries the fix yet. The PRs that repair it, objectstack#33418 (
3c44a97f) and objectstack#33490 (480246bc), merged on 2026-11-14 and 2026-11-15. Neither is in framework181ad7d4, which is both the latest framework release (18.4.0) and the pin productionv2.12.0serves. In both guides, the condition for keeping IdP-initiated sign-in off changes from the issue being fixed to a release carrying the repair; the link to objectstack#32146 stays. The behaviour the caveat warns about is still what every released version does. The same applies to objectstack#32087: its repairs, objectstack#33177 and objectstack#33525, are not in181ad7d4either. Its caveats name no issue state, so they are unchanged.The ObjectOS Cloud bullet "Group mappings cannot be saved on ObjectOS Cloud yet" is removed from both guides. It rested on cloud#4314, which closed on 2026-11-15. At
v2.12.0:packages/objectos-runtime/src/auth-proxy-plugin.ts) forwards the whole auth path to the environment'shandleRequest(cloud#4415,c4153027, which is inv2.12.0);181ad7d4servesPOST /api/v1/auth/admin/scim/set-group-mapping(plugin-auth/src/auth-plugin.ts);admin/sso/*on a plan without the external IdP.cloud#4538, the PR that ended cloud#4314 after
v2.12.0, says the same ("The 404 on the card is gone at the current pin") and only changes the Free/Team refusal. Not exercised live on production.Entra SAML, users without a mailbox, is reworded to what the code proves (Flagged items, row 3).
Flagged items ("based on 4.4.0 framework action/docs, not tested live")
The matching versions: Cloud is production
v2.12.0, which serves framework181ad7d4(= 18.4.0). Enterprise 4.4.0 is cloudee-v4.4.0(23b6cf9d), on frameworkc5758b0. Both framework commits were read withgit show, not a checkout.c5758b0and181ad7d4(the two files are byte-identical between them),platform-objects/src/identity/sys-sso-provider.object.tsL365-L380 has the action and its two fields: New IdP Signing Certificate, and Keep trusting the current certificate ("accept assertions signed by either certificate. Edit again without this to drop the old one").plugin-auth/src/register-sso-provider.tsL1019-L1022 stores[old, new]when the box is on and[new]otherwise.sso-provider-lifecycle.test.tsL857 pins both.sso-saml-refusal-cause.tsL198-L203 records that the vendor builds its samlify IdP fromcert, "one or a list".sys-sso-provider.object.tsL192-L196 at181ad7d4: Map: Email / First name / Last name / Display name / Groups attribute. The help text names the same Entra URIs the page lists. Defaults areemail,givenName,surnameanddisplayName, as the page says. Edit Attribute Mapping is L511.emailaddressclaim touser.userprincipalnamefor users without a mailbox@better-auth/sso1.7.12 (the framework's pin, unpatched) maps the SAML email asattr(mapping.email || "email") || extract.nameID. When the mapped attribute is absent, ObjectOS takes the NameID. That Entra omits the claim for a user withoutuser.mailis Entra's behaviour and is not in this code.user.mail, that ObjectOS falls back to the NameID when the attribute is missing, and that the UPN switch gives these users an email attribute of their own. It no longer says the switch is what makes their sign-in work.@better-auth/sso1.7.12:getVerificationIdentifier=_+ (tokenPrefixorbetter-auth-token) +-+ providerId, looked up atIDENTIFIER.DOMAIN, expiring after3600 * 24 * 7seconds. The framework passesdomainVerification: { enabled: true }with notokenPrefix(auth-manager-plugin-list.tsL795).The hold's own sentence, "ObjectOS Cloud always requires it, and it cannot be turned off", is checked at
v2.12.0.artifact-kernel-factory.tsL1347-L1361 passesssoDomainVerification: trueon every plan that carries the external IdP. Its changeset adds that explicit config outranksOS_SSO_DOMAIN_VERIFICATION, so a deployment variable cannot turn it off. Enterprise "on by default": theee-v4.4.0image config writesOS_SSO_DOMAIN_VERIFICATION=truewhen it is unset (docker-entrypoint.sh).The
buildfailure on #467, and its fixCI on
bc76778failed incheck-locale-surfacewithno-tree-entriesforzh-Hans,zh-Hantandja: "the content tree has 2 untranslated page(s) … but no untranslated page-tree entry could be recognised". At that base, fumadocs read eachconfigure/meta.LOCALE.jsonin place ofmeta.json,pagesincluded. Those files list 15 pages and neither new guide, so the two pages had no sidebar entry in those locales, and the guard that stops the rule passing over nothing fired.main#470 addedenglishPageListsPlugin(apps/docs/lib/source.ts): a locale meta keeps its labels and takes the Englishpageslist. AGENTS.md now documents that behaviour.The fix is the merge with
main. No meta or translation file is touched, and the locale meta files are translation-owned. After the merge, the gate counts 50 untranslated entries in each ofja,zh-Hansandzh-Hant, 0 of them unmarked. The builtja/docs/configure/users.htmlcarrieshref="/ja/docs/configure/sso-okta"withlang="en""SSO with Okta".Not moved:
.cloud-shaIt stays
unpinned. AGENTS.md moves the cloud pin "when someone refreshes the docs to match production". This PR checks its own pages againstv2.12.0, not the whole site, so pinning0ffc6d43would claim an alignment review that was not done.Checks
At head
6f2ea70, in a worktree. Each exit code was captured before any pipe; turbo tasks ran with--forceunder the shared verify lock, withNEXT_PRIVATE_STANDALONE=trueas in CI.check-node-floor.mjs --self-test0 ·check-node-floor.mjs0 ·check-half-states.mjs --self-test0gen-zh-hant.mjs --check0 ·check-doc-samples.mjs0check-translation-ownership.mjs0 ("0 translation artifact(s) and 5 other file(s)") ·check-translations.mjs0 (stale, reported not blocking:authenticationandfaq,jaandzh-Hans; missing: the two new pages) ·check-translation-output.mjs --self-test0 ·--files0pnpm turbo run type-check --continue0 ·pnpm turbo run build0 ·pnpm turbo run test0check-locale-surface.mjs0 ·check-positioning.mjs0 ·check-search-locales.mjs0 ·check-search-heap.mjs0check-indexing.mjs1, NOT MEASURED forlastmod. The only finding issitemap-lastmod-missingon all 408 URLs, the generator's designed answer on a shallow clone (depth-200 fetch here). Every other indexing rule was clean. CI checks out full history.Rendered with
next startand Chromium at 1440 and 390 wide:/docs/configure/sso-okta#on-objectos-cloud,/docs/configure/sso-entra-id#option-b-saml-20,#certificate-rotation-saml,/docs/configure/authentication#setup--sso-providersand/docs/resources/faqanswer 200, the anchors exist, there are no page errors and no horizontal scroll./ja/docs/configure/userslists both guides in its sidebar. Checked by eye.🤖 Generated with Claude Code
https://claude.ai/code/session_01FeA1nwBz1ohH65dvffUGKr